<?php
	$panngan3_id = $rows->panngan3_id;
	$panngan2_id = substr($panngan3_id, 0, 4);

	$db = new myDBS;
	
	$where = "panngan3_id = '$panngan3_id'";
	$result = $db->showData1("panngan3", $where);
	$rows_temp = $db->fetch_object ( $result );

	$panngan3_name = $rows_temp->panngan3_name;

	$where = "panngan2_id = '$panngan2_id'";
	$result = $db->showData1("panngan2", $where);
	$rows_temp = $db->fetch_object ( $result );

	$panngan2_name = $rows_temp->panngan2_name;

?>